//
//  PKGrouplistModel.m
//  PianKe
//
//  Created by mingtao on 15/10/12.
//  Copyright (c) 2015年 mingtao. All rights reserved.
//

#import "PKGrouplistModel.h"

@implementation PKGrouplistModel


-(void)setValue:(id)value forKey:(NSString *)key
{
    if ([key isEqualToString:@"userinfo"]) {
        self.userinfo = [[PKGroupUserinfoModel alloc]init];
        
        [self.userinfo setValuesForKeysWithDictionary:value];
    }else if ([key isEqualToString:@"counterList"])
    {
        self.counterList = [[PKGroupCounterListModel alloc]init];
        
        [self.counterList setValuesForKeysWithDictionary:value];
        
    }else
    {
        [super setValue:value forKey:key];
    
    }


}

@end
